#define  _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

struct A
{
	int a;// 4 4 4
	short b;//4 2 2
	int c;//4 4 4
	char d;//4 1 1
};//16

struct B
{
	int a;//4 4 4
	short b;//4 2 2
	char c;//4 1 1
	int d;//4 4 4
};//12

int main()
{
	printf("%d\n",sizeof(struct A));
	printf("%d\n", sizeof(struct B));
	return 0;
}